﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConnectorTests.cs" company="dimamartovoi">
//   Apache License
//   Version 2.0, January 2004
//   http://www.apache.org/licenses
// </copyright>
// <summary>
//   The connector tests.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using NUnit.Framework;

namespace Engine.Tests
{
    /// <summary>
    ///     The connector tests.
    /// </summary>
    [TestFixture]
    public class ConnectorTests
    {
        #region Public Methods and Operators

        /// <summary>
        ///     The connector send state.
        /// </summary>
        [Test]
        public void ConnectorSendState()
        {
//            var notifier = new StateChangingNotifier<int>();
//            var connector = new Connector<int>(10, 0, 1, notifier);
//            var connector1 = new Connector<int>(100, 1, 0, notifier);
//
//            connector.StateReceived += args => Assert.IsTrue(args.State == 100);
//            connector1.StateReceived += args => Assert.IsTrue(args.State == 10);
//
//            connector.Send(10);
//            connector1.Send(100);
        }

        #endregion
    }
}